package cn.edu.guet.tts.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单管理表
 * </p>
 *
 * @author test
 * @since 
 */
@TableName("tb_order")
@ApiModel(value = "TbOrder对象", description = "订单管理表")
@Data
public class TbOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键，订单ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联车票ID")
    private Integer ticketId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户全名")
    private String fullname;

    @ApiModelProperty("订单时间")
    private String orderTime;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    @ApiModelProperty("订单状态")
    private Integer trainId;
}
